package com.learn.project2.service.wx.coupon;

import com.learn.project2.model.vo.wx.coupon.CouponListVO2;
import com.learn.project2.model.vo.wx.coupon.CouponMylistVO2;
import com.learn.project2.model.vo.wx.coupon.CouponSelectListVO2;

/**
 * @description:
 * @author 岳子昂
 * @date 2022-01-10 15:21
 * @version 1.0
 */
public interface CouponService2 {
    CouponListVO2 list(Integer page, Integer limit);

    CouponMylistVO2 myList(Short status, Integer page, Integer limit, Integer userId);

    int receive(Integer couponId,Integer userId);

    int exchange(String code, Integer userId);

    CouponSelectListVO2 selectList(Integer userId, Integer cartId);
}
